Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: JManager Reference /
Chapter 1 - JManager Reference / JManager Functions
Applet Control Functions /


JMGetAppletDimensions

Returns the dimensions of an applet.

OSStatus JMGetAppletDimensions (
JMAppletLocatorRef locatorRef, 
UInt32 appletIndex, 
UInt32* width, 
UInt32* height);
locatorRef
The applet locator that contains the retrieved HTML text.
appletIndex
The index number of the applet you want to query.
width
A pointer to the applet width. On return, this parameter contains the width, in pixels, of the applet.
height
A pointer to the applet height. On return, this parameter contains the height, in pixels, of the applet.
function result
A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
The appletIndex value is an index number from 0 to appletCount-1, where appletCount is determined by the JMCountApplets function. You can call this function only after successfully retrieving HTML text using the JMNewAppletLocator function.

SEE ALSO
The JMCountApplets function (page 38).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help